Through trying to get my pages 'HTML 4.01 Transitional' compliant I have discovered that browsers go into 'quirks' mode with Domino generated pages.
My pages that I am testing are 100% compliant according to
http://validator.w3.org.
How then could my browser still tell me its in 'quirks' mode ?
The answer lies in the auto-generated doctype :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
This is incorrect as it should read:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd">
As soon as I create a straight html page with this doctype my browser says its in :
'Standards compliance mode'
Why is this important ???
An excellent article has been written on this subject at:
http://www.alistapart.com/stories/doctype/
To quote from this article:
"DOCTYPES are also essential to the proper rendering and functioning of web documents in compliant browsers like Mozilla, IE5/Mac, and IE6/Win"
Is there any way of changing what domino outputs, either via an .ini variable or other means, or are we stuck with this doctype ?
What if I want to output my pages as XHTML ?